package com.bwda.dsrs.filecenter.domain.form.terminal;

import com.bwda.dsrs.base.util.DateUtil;
import org.springframework.format.annotation.DateTimeFormat;
import java.util.Date;
import io.swagger.annotations.ApiModel;
import io.swagger.annotations.ApiModelProperty;
import lombok.Data;

/**
 * @author yangjun
 */
@Data
@ApiModel
public class TerminalCreateForm {

	@ApiModelProperty(value = "终端唯一编码")
	private String terminalCode;

	@ApiModelProperty(value = "MAC地址")
	private String macAddr;

	@ApiModelProperty(value = "终端版本")
	private String terminalVersion;

	@ApiModelProperty(value = "0正常1冻结")
	private Integer terminalState;

	@ApiModelProperty(value = "客户端标识")
	private String clientAgent;

	@ApiModelProperty(value = "创建时间,格式为:" + DateUtil.FORMAT)
	@DateTimeFormat(pattern = DateUtil.FORMAT)
	private Date createTime;

	@ApiModelProperty(value = "逗号隔开")
	private String rightIds;

	@ApiModelProperty(value = "0未删除1已删除")
	private Integer delFlag;

}